package org.snail.exception;

/**
 * 专门存储持久化所导致的问题
 *   包括：mysql,mongoDB，redis
 */
public class SqlException extends BaseException{
    private static final long serialVersionUID = 1L;

    public SqlException(Integer errcode, Object errObj) {
        super(errcode, errObj);
    }

    public SqlException(Integer errcode, String message) {
        super(errcode, message);
    }

    public SqlException(Integer errcode, String message, Object errObj) {
        super(errcode, message, errObj);
    }

    public SqlException(String message, Throwable cause, Integer errcode, Object errObj) {
        super(message, cause, errcode, errObj);
    }

    public SqlException(Throwable cause, Integer errcode, Object errObj) {
        super(cause, errcode, errObj);
    }
}
